package annotation;

import java.lang.annotation.*;

//测试元注解

public class TestBase {

    public void run() {

    }
}

//定义一个注解
@Inherited
@Target(value = ElementType.METHOD)
@Retention(value = RetentionPolicy.RUNTIME)
@interface MyAnnotation {
}